import Home from '@/module/home/page/home';
import page_list from '@/module/cms/page/page_list';
import page_add from "../page/page_add";
import page_edit from "../page/page_edit";

export default [{
  path: '/',
  component: Home,
  name: 'CMS',
  children: [
    {
      path: '/cms/page/list',
      name: '页面列表',
      component: page_list
    },
    {
      path: '/cms/page/add',
      name: '新增页面',
      component: page_add,
      hidden: true
    },
    {
      path: '/cms/page/edit/:pageId',
      name: '修改页面',
      component: page_edit,
      hidden: true
    }
  ]
}]
